﻿CREATE TRIGGER BoardAttendees_Tracking_Delete
ON [dbo].[BoardAttendees] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.BoardAttendees_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.BoardAttendees_Tracking s JOIN DELETED i
    ON s.BoardAttendeesID = i.BoardAttendeesID
END











